import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';

const app = createApp(App)
try {
  app.config.globalProperties.$utoolFun = ()=>{
    return new Promise(((resolve, reject) => {
      try {
        // @ts-ignore
        utools?resolve(utools):reject("not in utool")
      }catch (e){}
    }))
  }

}catch (e){}
app.use(ElementPlus)
  .mount('#app');
